import os
from distutils.core import setup, Extension
from distutils.sysconfig import get_python_inc

incdir = os.path.join(get_python_inc(plat_specific=1))

module = Extension('pyudis86',
	include_dirs = [incdir],
	libraries = ["udis86"],
	library_dirs = [],
	sources = ['pyudis86.c'])

setup(name = 'pyudis86',
    version = '0.1',
    description = 'Python module wrapping udis86',
    author = 'Braden Thomas',
    author_email = 'drspringfield@gmail.com',
    ext_modules = [module])
